package com.ashbur.lottery.domain.rule.service.logic.impl;

import com.ashbur.lottery.domain.rule.model.req.DecisionMatterReq;
import com.ashbur.lottery.domain.rule.service.logic.BaseLogic;
import org.springframework.stereotype.Component;

/**
 * @author : Eumenides
 * @Description : 年龄规则
 * @date : 2022/8/21
 * @Copyright ： 公众号：菜鸟的大厂梦
 */
@Component
public class UserAgeFilter extends BaseLogic {
    @Override
    public String matterValue(DecisionMatterReq decisionMatter) {
        return decisionMatter.getValMap().get("age").toString();
    }
}
